home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.cyberramp.net!news
- From: sinan@cyberramp.net (John Noland)
- Newsgroups: comp.lang.c
- Subject: Re: Object Oriented programming in C ????
- Date: 12 Mar 1996 00:54:14 GMT
- Organization: Prose Software
- Message-ID: <4i2hvm$ect@newshost.cyberramp.net>
- References: <4higq7$5j2@sidhe.memra.com>
- NNTP-Posting-Host: ramp1-12.cyberramp.net
- X-Newsreader: WinVN 0.99.5
-
- In article <4higq7$5j2@sidhe.memra.com>, michael@memra.com says...
- >
- >Does anyone know of resources that explain how to write OO programs in C?
- >I know about C++ and Objective C and I don't like either one. I would
- >like to be able to write OO programs in straight C (with some
- >preprocessor help for syntactic sugar) so that my code is fully portable
- >between a number os OS's.
- >
-
- There is a book on this that I really like.
-
- C+C++ - Programming With Objects in C and C++
- Alan I. Holub
- McGraw-Hill 1992, ISBN 0-07-029662-6
-
- The first chapter is called Object-Oriented Programming in C. It's a great
- book. He also has a book called "Compiler Design in C". He uses an object
- oriented development style in straight C to develop a C compiler. FWIW, I
- think you'll find that if you have an application that lends itself to
- an object-oriented solution, C++ is the better choice.
-
- -John
-
-
-